import { combineReducers } from 'redux-immutable';

import { reducer as indexReducer } from '../pages/main/store';
import { reducer as loginReducer } from '../pages/login/store';
import { reducer as dashboardReducer } from '../pages/main/subPages/dashboard/store';
import { reducer as actionReducer } from '../components/my-table/cPages/store';

const cReducer = combineReducers({
  /* 页面数据 redux */
  index: indexReducer,
  /* 登录、用户数据 */
  login: loginReducer,
  /* 图表数据 */
  dashboard: dashboardReducer,
  /* 对数据增删改查 */
  action: actionReducer,
});

export default cReducer;
